<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE>
<html>
<head>
<base href="<%=basePath%>">

<title>添加修改文章类别</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="<%=path %>/css/mine.css" type="text/css" rel="stylesheet">
<link href="<%=path %>/css/custom.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="<%=path %>/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="<%=path %>/js/dream_plugins.js"></script>
<script type="text/javascript" src="<%=path %>/js/ArticleManagement.js"></script>
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
</head>


<body>
	<div class="div_head">
		<span> <span style="float:left">当前位置是：文章管理  》添加修改文章类别</span> <span
			style="float:right;margin-right: 8px;font-weight: bold"> <a
				style="text-decoration: none" href="#">【主页】</a>
		</span>
		</span>
	</div>
	<div></div>

	<div style="margin: 10px 5px">
		<form id="category_form" name="category_form" action="#" method="post" enctype="multipart/form-data">
			<s:set value="#request.ArticleCategory" var="t"></s:set>
			<table border="1" width="100%" class="table_a" style="font-size: 12px;">
				<tr>
					<td style="width:200px;">类别名称（中文）
						<input type="hidden" id="CId" name="carticlesort.CId" value="${t.CId }" />
					</td>
					<td><input type="text" name="carticlesort.CName" class="longtext" value="${t.CName }" /></td>
				</tr>
				<tr>
					<td>类别名称（英文）</td>
					<td><input type="text" name="carticlesort.CNamee" class="longtext" value="${t.CNamee }" /></td>
				</tr>
				<tr>
					<td>描述（中文）</td>
					<td><input type="text" name="carticlesort.CDescription" class="longtext" value="${t.CDescription }" /></td>
				</tr>
				<tr>
					<td>描述（英文）</td>
					<td><input type="text" name="carticlesort.CDescriptione" class="longtext" value="${t.CDescriptione }" /></td>
				</tr>
				<tr>
					<td colspan="2" align="center"><input type="button" 
					onclick="SaveArticleManagement('category_form', '<%=path %>/ArticleManagement_ArticleCategoryOperation?opt=${request.Opt }');" value="保存">
					<input type="button" value="重置" onclick="category_form.reset();" />
					</td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>
